package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * Created by mark on 2018/1/25.
 */

public class News {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"id":"17","url":"/upload/pliang/20160109200443891.jpg","title":"我真的是个新闻`"},{"id":"18","url":"/upload/user/20150915184505892.jpg","title":"222"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 17
         * url : /upload/pliang/20160109200443891.jpg
         * title : 我真的是个新闻`
         */

        private String id;
        private String url;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
